package com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * @author mgl
 * @version 1.0
 * @description 教师和竞赛的关联表 哪个教师创建了哪个比赛
 * @date 2024/4/21 16:12
 */
@TableName("r_teacher_contest")
@Data
public class ContestTeacherMapping {
    @TableId("id")
    private Integer id;
    @TableField("teacher_id")
    private Long teacherId;
    @TableField("contest_id")
    private Long contestId;
}
